#include"udpserver.hpp"
#include<memory>

using namespace std;
string datagram(char* data)
{
    string ret = "Get message:";
    ret += data;
    return ret;
}
int main()
{
    unique_ptr<udpserver> server(new udpserver());
    server->init();
    server->run(datagram);
    return 0;
}